package com.ayx.sprincloud.controller;

import com.ayx.sprincloud.service.IMessageSend;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MessageController {

    @Autowired
    private IMessageSend messageSend;

    @GetMapping("messageSend")
    public String messageSend(){
        return messageSend.sendMessage();
    }
}
